
export interface XmlArgItem {
    width: number;
    height: number;
    alpha: number;
    color: string;
    radius: number;
    radiusAlpha: number;
}
export default (...args: XmlArgItem[]) => {
    return floaty.window(`<!-- wrap: floaty.rawWindow -->
    <frame>
    ${args.map((arg, index) => {
        return `<frame visibility="gone" id="frame${index}" w="${arg.width}" h="${arg.height}">
        <text id="text${index}"></text>
        <frame w="*" h="*" alpha="${arg.alpha}" bg="${arg.color}"></frame>
        <img radius="${arg.radius}" tint="${arg.color}" alpha="${arg.radiusAlpha}" src="" />
      </frame>`
    }).join('\n')}
    </frame>
    `)
}